﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class SumUtils
    {
        public  int CountNumber(int a,int b) {
            return a + b;
        }
        public  double CountNumber(double a, double b)
        {
            return a + b;
        }
        public  string CountNumber(string a, string b)
        {
            return a + b;
        }
        public  int CountNumber(int a)
        {
            int sum =0 ;
            for (int i = 1; i <= a; i++)
            {
                sum += i;
            }
            return sum;
        }



    }
}
